﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MSH.Common.Business
{
    /// <summary>
    /// Business object voor het activeren van een nieuw account
    /// </summary>
    public class UserActivation
    {
        private Int32 _id;
        private String _code;
        private DateTime _sentTimestamp;
        private DateTime _expireTimestamp;

        /// <summary>
        /// Database id
        /// </summary>
        public virtual Int32 ID
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// De activatiecode
        /// </summary>
        public virtual String Code
        {
            get { return _code; }
            set { _code = value; }
        }

        /// <summary>
        /// Tijd wanneer de activatiecode verzonden is
        /// </summary>
        public virtual DateTime SentTimestamp
        {
            get { return _sentTimestamp; }
            set { _sentTimestamp = value; }
        }
        
        /// <summary>
        /// Tijd wanneer de activatiecode verloopt
        /// </summary>
        public virtual DateTime ExpireTimestamp
        {
            get { return _expireTimestamp; }
            set { _expireTimestamp = value; }
        }

    }
}
